package com.haogu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.haogu.entity.Business;
import com.haogu.entity.VBusiness;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    List<VBusiness> listPage(Map map);
    List<VBusiness> listBusiness();
    Business selectBusinessById(@Param("id") Integer id);
    List<VBusiness> selectDay(Map map);
    List<VBusiness> selectMyBusiness(Map map);
    List<VBusiness> selectSubBusiness(Map map);
    List<VBusiness> selectRecycle(Map map);
}
